cancel
Showing results for 
Search instead for 
Did you mean: 

Get Content ?

testingit
Champ in-the-making
Champ in-the-making
Hi again,

I can't find the php api function to get node's content , can you give me a hint on that 🙂 ?

And is the file object is implmented ? I see it's documented but couldn't find it in the code …
3 REPLIES 3

dashacoen
Champ in-the-making
Champ in-the-making
The call center industry in the Philippines is continuing to flourish amid the recent global downturn. As most companies opted to outsource their calls, a Philippine Call Center would easily come to their mind as it is very reliable and competent in doing such tasks.

gyro_gearless
Champ in-the-making
Champ in-the-making
Hi again,

I can't find the php api function to get node's content , can you give me a hint on that 🙂 ?

And is the file object is implmented ? I see it's documented but couldn't find it in the code …

Hi,

here is some snippet of code from some PHP project, given you have a Node object $docNode:

    
    $docProps = $docNode->getProperties();
    $docContent = $docProps['{http://www.alfresco.org/model/content/1.0}content'];

    $contentLength = $docContent->getSize();
    $contentMimeType = $docContent->getMimetype();
    $content = $docContent->getContent();

HTH
Gyro

rinachen
Champ in-the-making
Champ in-the-making
Outsourcing Tech Support is an issue which has yet to be addressed by most companies since many of their customers are dissatisfied with the way they operate. And yes, the call centers have no control over it.